package com.aaa.sso.util;

import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * @author Xiujie Yu
 * @Date 2021-01-21
 * @Time 16:28
 */
public class CustomUsernamePasswordToken extends UsernamePasswordToken {

    /**
     * 功能描述:引入登陆类型
     */
    private String loginType;

    public CustomUsernamePasswordToken(String username,String password,String loginType) {
        super(username, password);
        this.loginType = loginType;
    }

    public String getLoginType() {
        return loginType;
    }

    public void setLoginType(String loginType) {
        this.loginType = loginType;
    }
}
